package com.linkgie.galaxyframework.persistence.data;

import com.linkgie.galaxyframework.utils.bean.FieldSelect;

/**
 * 分组查询；
 */
public interface EntityGrouper<T, R> extends EntityGroupSorter<T, R> {

    /**
     * 指定分组字段；
     * 
     * @param groupbyFunction
     * @return
     */
    EntityGroupAggregation<T, R> groupBy(FieldSelect<T> groupbyFieldSelector);

}
